package org.jcodetools.fs.entity;

/**
 * Created by 熊彦 on 2017-06-17.
 *
 * @email javadevyan@163.com
 */
public class Result {
    private String code;
    private String tips;
    private Object data;

    public Result() {
    }

    public Result(String code) {
        this.code = code;
    }

    public Result(String code, String tips) {
        this.code = code;
        this.tips = tips;
    }

    public Result(String code, String tips, Object data) {
        this.code = code;
        this.tips = tips;
        this.data = data;
    }

    public String getCode() {
        return code;
    }

    public Result setCode(String code) {
        this.code = code;
        return this;
    }

    public String getTips() {
        return tips;
    }

    public Result setTips(String tips) {
        this.tips = tips;
        return this;
    }

    public Object getData() {
        return data;
    }

    public Result setData(Object data) {
        this.data = data;
        return this;
    }
}
